package com.sas.entity;

import java.io.Serializable;

/**
  * @author 胡其安
  * @data 创建时间：2018年4月9日
  * @version v1.0
  * @company 东软
  * @explain 商品列表
  * @copyright 
*/
public class Shangpin implements Serializable{
	  /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;  //编号
      private String gysname;  //供应商名字
      private String spname;  //商品名字
      private String spno;   // 商品编号
      private String color;   //商品颜色
      private String size;  //  尺寸
      private String chengfen; //成分
      private int price;       //  价格
      private String url;     // 地址
      private String tupianurl;     // 图片地址
      private String beizhu;   // 备注
      
      
      
    
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Shangpin [id=" + id + ", gysname=" + gysname + ", spname=" + spname + ", spno=" + spno + ", color="
				+ color + ", size=" + size + ", chengfen=" + chengfen + ", price=" + price + ", url=" + url
				+ ", tupianurl=" + tupianurl + ", beizhu=" + beizhu + "]";
	}

	public Shangpin(){}
	
	
	
	public Shangpin( String gysname, String spname, String spno, String color, String size, String chengfen,
			int price, String url, String tupianurl, String beizhu) {
		super();
		
		this.gysname = gysname;
		this.spname = spname;
		this.spno = spno;
		this.color = color;
		this.size = size;
		this.chengfen = chengfen;
		this.price = price;
		this.url = url;
		this.tupianurl = tupianurl;
		this.beizhu = beizhu;
	}

	public Shangpin(int i, String gysname, int price_1,String spname,String spno,String size) {
		// TODO Auto-generated constructor stub
		this.id=i;
		this.gysname = gysname;
		this.price = price_1;
		this.spname=spname;
		this.spno = spno;
		this.size = size;
	}
	
	
	/**
	 * @return the tupianurl
	 */
	public String getTupianurl() {
		return tupianurl;
	}

	/**
	 * @param tupianurl the tupianurl to set
	 */
	public void setTupianurl(String tupianurl) {
		this.tupianurl = tupianurl;
	}

	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return the gysname
	 */
	public String getGysname() {
		return gysname;
	}
	/**
	 * @param gysname the gysname to set
	 */
	public void setGysname(String gysname) {
		this.gysname = gysname;
	}
	/**
	 * @return the spname
	 */
	public String getSpname() {
		return spname;
	}
	/**
	 * @param spname the spname to set
	 */
	public void setSpname(String spname) {
		this.spname = spname;
	}
	/**
	 * @return the spno
	 */
	public String getSpno() {
		return spno;
	}
	/**
	 * @param spno the spno to set
	 */
	public void setSpno(String spno) {
		this.spno = spno;
	}
	/**
	 * @return the color
	 */
	public String getColor() {
		return color;
	}
	/**
	 * @param color the color to set
	 */
	public void setColor(String color) {
		this.color = color;
	}
	/**
	 * @return the size
	 */
	public String getSize() {
		return size;
	}
	/**
	 * @param size the size to set
	 */
	public void setSize(String size) {
		this.size = size;
	}
	/**
	 * @return the chengfen
	 */
	public String getChengfen() {
		return chengfen;
	}
	/**
	 * @param chengfen the chengfen to set
	 */
	public void setChengfen(String chengfen) {
		this.chengfen = chengfen;
	}
	/**
	 * @return the price
	 */
	public int getPrice() {
		return price;
	}
	/**
	 * @param price the price to set
	 */
	public void setPrice(int price) {
		this.price = price;
	}
	/**
	 * @return the url
	 */
	public String getUrl() {
		return url;
	}
	/**
	 * @param url the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}
	/**
	 * @return the beizhu
	 */
	public String getBeizhu() {
		return beizhu;
	}
	/**
	 * @param beizhu the beizhu to set
	 */
	public void setBeizhu(String beizhu) {
		this.beizhu = beizhu;
	}
	
      
      
      
}
